package org.example.service.model;

import lombok.Data;

import java.math.BigDecimal;

/**
 * @author xietl
 * @date 2025/9/25  15:20
 * @description 该类是表示用户的相识度
 */
@Data
public class UserSimilarityModel {
    // 用户ID
    private Integer userId;

    // 相似度值
    private BigDecimal similarity;

    public UserSimilarityModel(){

    }

    public UserSimilarityModel(Integer userId, BigDecimal similarity) {
        this.userId = userId;
        this.similarity = similarity;
    }

    @Override
    public String toString() {
        return "UserSimilarityModel{" +
                "userId=" + userId +
                ", similarity=" + similarity +
                '}';
    }
}
